package com.dwsoft.xml;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sqw
 * @version 1.0
 * @description TODO
 * @ClassName XChart
 * @Date 2020/8/14
 * @since jdk1.8
 */
@Data
@EqualsAndHashCode(callSuper=true)
public class XChart extends XmlNode{

    @XStreamAsAttribute
    String title;

    @XStreamAsAttribute
    String xAxis;

    @XStreamAsAttribute
    String yAxis;

    @XStreamAsAttribute
    String yAxisLable;

    @XStreamAsAttribute
    String xAxisLable;

    @XStreamAsAttribute
    String legeng;

    @XStreamAsAttribute
    Integer height=300;

    @XStreamAsAttribute
    Integer width=550;

    @XStreamAsAttribute
    String dataKpi;
}
